[IA64] Fix GATE_ADDR for ia64_do_show_stack()
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Thu, 6 Jul 2006 15:53:23 +0000 (09:53 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Thu, 6 Jul 2006 15:53:23 +0000 (09:53 -0600)
fix GATE_ADDR and define it in include/asm-ia64/xensystem.h.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
xen/include/asm-ia64/linux-xen/asm/system.h
xen/include/asm-ia64/xensystem.h

index b958560d9174a18d8430de4bff1b103e8aae7d19..c12beafd3af845791bcb63538f89831f73d77cd2 100644 (file)
@@ -19,8 +19,8 @@
 #include <asm/pal.h>
 #include <asm/percpu.h>
 
-#define GATE_ADDR              __IA64_UL_CONST(0xa000000000000000)
 #ifndef XEN
+#define GATE_ADDR              __IA64_UL_CONST(0xa000000000000000)
 /*
  * 0xa000000000000000+2*PERCPU_PAGE_SIZE
  * - 0xa000000000000000+3*PERCPU_PAGE_SIZE remain unmapped (guard page)
index a385075a9ac33078693b0c04099557a324e205b2..d7c40e1735e9b3b3158309befc84767dd6cc0376 100644 (file)
@@ -19,6 +19,7 @@
 
 #define HYPERVISOR_VIRT_START   0xe800000000000000
 #define KERNEL_START            0xf000000004000000
+#define GATE_ADDR              KERNEL_START
 #define DEFAULT_SHAREDINFO_ADDR         0xf100000000000000
 #define PERCPU_ADDR             (DEFAULT_SHAREDINFO_ADDR - PERCPU_PAGE_SIZE)
 #define VHPT_ADDR               0xf200000000000000